<template>
  <van-swipe class="my-swipe" :autoplay="3000" indicator-color="white">
    <van-swipe-item v-for="item of result.slides" :key="item.goodsId">
      <router-link :to="{path:'/details',query:{id:item.goodsId}}">
        <van-image :src="$utils.$filterImgUrl(item.image)"/>
      </router-link>
    </van-swipe-item>
  </van-swipe>
</template>

<script>
export default {
  props:{
    result:{
      type:Object,
      required:true
    }
  }
};
</script>

<style></style>
